<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    @include("{$templatePrefix}/common.head")

    <link rel="stylesheet" type="text/css" href="{{ asset($stylePath) }}/css/style_2_portal_list.css"/>
</head>
<body id="nv_portal" class="pg_list pg_list_4">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div id="toptb" class="cl" style="display:none;"></div>

@include("{$templatePrefix}/common.header")

<div id="mu" class="cl">
    <div class="wp"></div>
</div>
<script src="{{ asset($stylePath) }}/js/week_nav.js" type="text/javascript"></script>
<div id="wp" class="wp">
    <style id="diy_style" type="text/css">
    </style>
    <style>
    </style>
</div>
<div class="wk_list_box wk_list_box17"></div>
<div class="wk_blog_tab">
    <ul>
        @foreach($categoryLists as $key=>$item)
        <li class="@if($item['id'] == $categoryId) active @endif"><a href="{{ url('cases?cate_id='.$item['id']) }}" title="{{ $item['name'] }}">{{ $item['name'] }}</a>
        </li>
        @endforeach
    </ul>
    <div class="clear"></div>
</div>
<div class="clear"></div>
<div class="wk_ymbg">
    <div id="wp" class="wp">
        <div class="wp">
            <!--[diy=diy1]-->
            <div id="diy1" class="area"></div>
            <!--[/diy]-->
        </div>
        <div class="week-case">
            <!--[diy=listcontenttop]-->
            <div id="listcontenttop" class="area"></div>
            <!--[/diy]-->
            <div class="week-case_con">
                @foreach($lists as $key=>$item)
                <dl>
                    <dd style="background:url({{ $item['cover_image'] }}) no-repeat center center;background-size:cover">
                        <a href="{{ url('cases', ['id'=>$item['id']]) }}" title="{{ $item['title'] }}" target="_blank"></a>
                    </dd>
                    <dt>
                        <h3><a href="{{ url('cases', ['id'=>$item['id']]) }}" title="{{ $item['title'] }}" target="_blank">{{ $item['title'] }}</a></h3>
                    </dt>
                </dl>
                @endforeach
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
            <div class="pagess">
                {{ $lists->appends(['cate_id'=>$categoryId])->links() }}
            </div>
            <!--[diy=diycontentbottom]-->
            <div id="diycontentbottom" class="area"></div>
            <!--[/diy]-->
        </div>
    </div>
    <div class="wp mtn">
        <!--[diy=diy3]-->
        <div id="diy3" class="area"></div>
        <!--[/diy]-->
    </div>
</div>
<div id="wk_ft">
    <div class="section fp-auto-height">
        <div class="wk_footer_side">
            @include("{$templatePrefix}/common.footer")
        </div>
    </div>
</div>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"></ul>

@include("{$templatePrefix}/common.bottom")


</body>

</html>